package com.mayuanfei.payment.impl;

import com.mayuanfei.annotation.PayAnnotation;
import com.mayuanfei.enums.PayTypeEnum;
import com.mayuanfei.payment.Payment;
import org.springframework.stereotype.Component;

/**
 * 阿里支付
 *
 * @author 老马
 * @date 2025-04-03 13:28
 */
@Component
@PayAnnotation(PayTypeEnum.WECHAT)
public class WechatPayment implements Payment {
    /**
     * 支付
     *
     * @param content 支付上下文
     * @return 支付结果
     */
    @Override
    public String pay(String content) {
        return "微信支付成功";
    }
}